import { createRoot } from 'react-dom/client'
import './App.css'
import { RouterProvider } from "react-router"
import router from './router/index.jsx'
import { ConfigProvider } from 'antd';
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
import zhCN from 'antd/locale/zh_CN';
dayjs.locale('zh-cn');
createRoot(document.getElementById('root')).render(
  <ConfigProvider locale={zhCN}>
    <RouterProvider router={router}></RouterProvider>
  </ConfigProvider>
)
